<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/FCKeditor.tld" prefix="fck" %>
<%@page import="java.util.*,model.*,util.*,control.*"%>
<!DOCTYPE html>
<html>
<head>
    <title>用户注册</title>
    <meta charset="utf-8"/>
    <script  src='../../js/core.js'></script>
    <link type="text/css" rel='stylesheet' href="../../css/info.css"/>
</head>
<body>
<%
	request.setCharacterEncoding("utf-8");
 
	Student student = new Student();
	StudentControl scc = new StudentControl();
	int id = 1;
	student = scc.GetStudent(id);

%>
<div id="page">
    <header class="header">
        <p class="title">欢迎您注册CAT测评系统</p>
    </header>
    <section class="main">
        <form method="post" name="form" action="student_updatechuli.jsp?id=<%=id%>&oldUsername=<%=student.getUsername()%>">
            <p><label>用户名：</label><input class='inp' name="userN" type="text" value="<%=student.getUsername() %>"/></p>
            <p><label>密&nbsp;&nbsp;&nbsp;码：</label><input class='inp' name="pas" type="text" value="<%=student.getPassword() %>"/></p>
            <p><label>姓&nbsp;&nbsp;&nbsp;名：</label><input class='inp' name="sna" type="text" value="<%=student.getStudentName() %>"/></p>
            <p><label>性&nbsp;&nbsp;&nbsp;别：</label><input class='inp' name="sx" type="text" value="<%=student.getSex() %>"//></p>
            <p><label>学&nbsp;&nbsp;&nbsp;校：</label><input class='inp' name="sc" type="text" value="<%=student.getSchool() %>"/></p>
            <p><label>班&nbsp;&nbsp;&nbsp;级：</label><input class='inp' name="cl" type="text" value="<%=student.getClasses() %>"/></p>
            <p><label>专&nbsp;&nbsp;&nbsp;业：</label><input class='inp' name="ma" type="text" value="<%=student.getMajor() %>"/></p>
            <p class="sub"><input type="submit" class="btn fl br3" value="提   交"/>
                <input type="button" onclick="javascript:window.location.href='student_index.jsp'" class="btn fr br3 mr6" value="取   消"/></p>
        </form>
    </section>
    <footer class="footer"><small>© 2012 Nenu</small></footer>
</div>
</body>
</html>
